// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using Elastic.Transport.Products.Elasticsearch;
using System.Collections.Generic;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.Ml
{
	public sealed partial class MlUpdateJobResponse : ElasticsearchResponseBase
	{
		[JsonInclude]
		[JsonPropertyName("allow_lazy_open")]
		public bool AllowLazyOpen { get; init; }

		[JsonInclude]
		[JsonPropertyName("analysis_config")]
		public Elastic.Clients.Elasticsearch.Ml.AnalysisConfigRead AnalysisConfig { get; init; }

		[JsonInclude]
		[JsonPropertyName("analysis_limits")]
		public Elastic.Clients.Elasticsearch.Ml.AnalysisLimits AnalysisLimits { get; init; }

		[JsonInclude]
		[JsonPropertyName("background_persist_interval")]
		public Elastic.Clients.Elasticsearch.Duration? BackgroundPersistInterval { get; init; }

		[JsonInclude]
		[JsonPropertyName("create_time")]
		public long CreateTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("custom_settings")]
		public Dictionary<string, string>? CustomSettings { get; init; }

		[JsonInclude]
		[JsonPropertyName("daily_model_snapshot_retention_after_days")]
		public long DailyModelSnapshotRetentionAfterDays { get; init; }

		[JsonInclude]
		[JsonPropertyName("data_description")]
		public Elastic.Clients.Elasticsearch.Ml.DataDescription DataDescription { get; init; }

		[JsonInclude]
		[JsonPropertyName("datafeed_config")]
		public Elastic.Clients.Elasticsearch.Ml.Datafeed? DatafeedConfig { get; init; }

		[JsonInclude]
		[JsonPropertyName("description")]
		public string? Description { get; init; }

		[JsonInclude]
		[JsonPropertyName("finished_time")]
		public long? FinishedTime { get; init; }

		[JsonInclude]
		[JsonPropertyName("groups")]
		public IReadOnlyCollection<string>? Groups { get; init; }

		[JsonInclude]
		[JsonPropertyName("job_id")]
		public string JobId { get; init; }

		[JsonInclude]
		[JsonPropertyName("job_type")]
		public string JobType { get; init; }

		[JsonInclude]
		[JsonPropertyName("job_version")]
		public string JobVersion { get; init; }

		[JsonInclude]
		[JsonPropertyName("model_plot_config")]
		public Elastic.Clients.Elasticsearch.Ml.ModelPlotConfig? ModelPlotConfig { get; init; }

		[JsonInclude]
		[JsonPropertyName("model_snapshot_id")]
		public string? ModelSnapshotId { get; init; }

		[JsonInclude]
		[JsonPropertyName("model_snapshot_retention_days")]
		public long ModelSnapshotRetentionDays { get; init; }

		[JsonInclude]
		[JsonPropertyName("renormalization_window_days")]
		public long? RenormalizationWindowDays { get; init; }

		[JsonInclude]
		[JsonPropertyName("results_index_name")]
		public string ResultsIndexName { get; init; }

		[JsonInclude]
		[JsonPropertyName("results_retention_days")]
		public long? ResultsRetentionDays { get; init; }
	}
}